package com.yl.solution.dao.impl;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.yl.solution.dao.Unresolved_ProblemDao;
import com.yl.solution.entity.Unresolved_Problem;

public class Unresolved_ProblemDaoImpl extends HibernateDaoSupport implements Unresolved_ProblemDao {

	@Override
	public int insertResolved_Problem(Unresolved_Problem UP) {
		try {
			getHibernateTemplate().save(UP);
			return 1;
		} catch (Exception e) {
			return 0;
		}
		
	}

}
